<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="request" /> 


</head>
<body>



<div class="workingroom">
	<div class="loginDiv">
	

	<c:if test="${empty flag}">
		<a href="login">登录</a><br>
	</c:if>
	<c:if test="${!empty flag}">
		<span class="desc">你好，${flag }，</span>
		<a href="doLogout">退出</a><br>	
	</c:if>
		
		
	<form action="${ctx }/listProduct">
		<button type="submit"> 查看产品</button>&sbnp;&sbnp;&sbnp;&sbnp;<span>(登录后才可以查看) </span>
	</form>
	<a href="listProduct">查看产品</a><span class="desc">(登录后才可以查看) </span><br>
	<a href="deleteProduct">删除产品</a><span  class="desc">(要有产品管理员角色, zhang3没有，li4 有) </span><br>
	<a href="deleteOrder">删除订单</a><span class="desc">(要有删除订单权限, zhang3有，li4没有) </span><br>
</div>









</body>
</html>